package com.openbravo.data.loader.serialize.serializer.write;

import com.openbravo.data.basic.BasicException;
import com.openbravo.data.loader.serialize.DataWrite;
import com.openbravo.data.loader.serialize.Datas;
import com.openbravo.data.loader.serialize.serializer.SerializerWrite;

public class SerializerWriteLong implements SerializerWrite<Long> {

    public static final SerializerWrite INSTANCE =new SerializerWriteLong();

    @Override
    public void writeValues(DataWrite dp, Long obj) throws BasicException {
        Datas.LONG.setValue(dp, 1, obj);
    }

}
